<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        echo "Admin";
    }

    public function userlist(){
        $usersmodel=M('users');
        $users=$usersmodel->order('id desc')->select();
        $this->users=$users;
        $this->display();
    }
	public function users(){
        $usersmodel=M('users');
        $users=$usersmodel->order('id desc')->select();
        $this->users=$users;
        $this->display();
    }

}